package com.bailun91.auth.controller;

import com.bailun91.auth.entity.JsonData;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("customer")
public class CustomerController {


    @RequestMapping("update")
    public JsonData update(){
        return JsonData.buildSuccess("更新客户",0);
    }
    @RequestMapping("delete")
    public JsonData delete(){
        return JsonData.buildSuccess("删除客户",0);
    }
    @RequestMapping("insert")
    public JsonData insert(){
        return JsonData.buildSuccess("增加客户",0);
    }
    @RequestMapping("find")
    public JsonData find(){
        return JsonData.buildSuccess("查看客户",0);
    }
}
